From: Lars Ingebrigtsen Date: Sat, 15 Jun 2019 14:59:21 +0000 (+0200) Subject: Suppress compilation warning in supercite.el X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~19^2~2899 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=4d2b3bcd038ffea4a2951cdc2735a904fc875e3a;p=emacs.git Suppress compilation warning in supercite.el * lisp/mail/supercite.el (curline): Suppress warning about non-prefixed variable used by forms in the `sc-mail-glom-frame' variable. --- diff --git a/lisp/mail/supercite.el b/lisp/mail/supercite.el index ad69dca8c43..ce00a7cf665 100644 --- a/lisp/mail/supercite.el +++ b/lisp/mail/supercite.el @@ -702,7 +702,11 @@ the list should be unique." "Regi frame for glomming mail header information.") (put 'sc-mail-glom-frame 'risky-local-variable t) -(defvar curline) ; dynamic bondage +;; This variable is bound dynamically before calling the forms in the +;; `sc-mail-glom-frame' variable, and is part of the advertised +;; interface. +(with-suppressed-warnings ((lexical curline)) + (defvar curline)) ;; regi functions